package ep.model;

public class Board {

	private int height;

	private int width;

	private int[][] board;

	public Board(int height, int width) {
		super();
		this.height = height;
		this.width = width;
		this.board = new int[this.height][this.width];
	}

	public int getPositionState(int i, int j) {
		return this.board[i][j];
	}
	
	

	public void setPositionState(int i, int j, int positionState) {
		this.board[i][j] = positionState;
	}

	public void turnOn(int i, int j) {
		this.board[i][j] = 1;
	}

	public void turnOff(int i, int j) {
		this.board[i][j] = 0;
	}

	public int getHeight() {
		return height;
	}

	public int getWidth() {
		return width;
	}

}
